using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class phasecontrol : MonoBehaviour
{
    public Nowphase GetNowphase;
    void Start()
    {
        GetNowphase.Phase = 0;
        GetNowphase.nowphase = 0;
    }

    // Update is called once per frame
    void Update()
    {
        GetNowphase.nowphase = GetNowphase.Phase % 3;
    }
}
